from typing import *
from bisect import bisect_left
class Solution:
    def minOperations(self, nums: List[int], k: int) -> int:
        nums.sort()
        return bisect_left(nums,k)

class Solution:
    def minOperations(self, nums: List[int], k: int) -> int:
        return sum([1 for v in nums if v < k])